#include "Event.h"

using namespace me;
using namespace std;

Event::Event()
{
    //ctor
}

Event::~Event()
{
    //dtor
}


void Event::trigger()
{
    for (unsigned int i=0 ; i < handlers.size() ; i++)
    {
        handlers[i]();
    }
}

void Event::addHandler(void(*handler)())
{
    handlers.push_back(handler);
}
